package com.example.designmode.flyweight

import org.junit.Test


/**
 * 测试整形数
 *
 * @author zhouronghua
 * @time 2022/3/9 9:52 下午
 */
class IntTest {

    @Test
    fun testInt() {
        val i1:Int = 127
        val i2 = 127
        println(i1 == i2)
        val i3 = 128
        val i4 = 128
        println(i3 == i4)

    }
}